home *** CD-ROM | disk | FTP | other *** search
- Date: Mon, 1 Aug 94 09:40 CDT
- From: ekl@sdf.lonestar.org (Evan K. Langlois)
- To: gem-list@world.std.com
- Subject: Digest
- Precedence: bulk
-
-
- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
- only with graphics cards that it is faster to avoid them. And that is a tiny
- minority of users.
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Off-screen bit-map speed could be improved for graphics cards without slowing
- base machines too much by scrolling the area normally, with a screen-2-screen
- raster operation, then redrawing the exposed portion with the off-screen map.
- Normally, when you use an off-screen bitmap you just use 1 raster operation
- since there isn't much point in breaking things into 2 separate blits.
-
- However, for graphics card users, and for sake of consistency with other
- forms of redraw and scrolling, spliting the calls seems like a good idea.
- If redraw is the problem, and not just scrolling, then there is little
- one can do to redraw bit-map graphics, other than an off-screen bitmap!
-
- Gem, itself, uses an off-screen bit-map for the menus.
-
- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
- I knew timer events worked when the menus are dropped, I think this is how
- Calamus etc does it. But I don't like anything using short interval timer
- events.
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Agreed, but short timer events aren't really the problem. The problem is
- what you do with them. Polling the mouse position is rediculous to do
- with timer events - that is what rectangle tracking is for. If the short
- timer event actually did something useful, then it would be fine, such
- as many animating an icon when the mouse is over it (detect the mouse
- being over it with rectangle events, then use timer events to draw the
- frames).
-
- You can use rectangle events when the menus are down and clipping should't
- matter since you only need to clip your ballon help, the menu itself is
- already set up so that it doesn't need clipping. I just don't understand
- how you are going to do the ballon help since when the menus are down,
- I think wind_update() is in effect, making drawing to the screen kinda
- hard - unless you simply don't call wind_update and draw directly to
- the screen. Plus, you'll need MultiTOS (or Geneva, Mag!C, etc) since
- you need to be able to inquire which app owns the menu bar so you don't
- put your help on someone else's bar!
-
- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
- Opening windows is fairly slow under MultiTOS but not unreasonably so. What is
- slow about windowed dialogues is that the other windows are redrawn when the
- dialogue is closed.
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- You are basically using a raster-copy for window redraw (like we discussed
- above), but you are doing it only when a dialog is up. A better solution
- would be to keep the dialog in a window, but make it amodal so you use
- the dialog and when you click on "apply" or "set" instead of "ok", the
- dialog stays on screen. You'l find that being able to use such a dialog
- without topping it first, especially on a large screen where the dialog
- and window can be side-by-side, can be a nice feature. Since this can
- be confusing for overlapping windows, I suggested that a button be selected
- only if unobscrured.
-
- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
- I agree. Programs should not put their own specific stuff into it, or it will
- get like the windows win.ini file.
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- No, I don't think so. A good rule of thumb is that if the information
- will change while you run the program, then don't store it in the file.
- Otherwise, app-defs is perfect, and removing app-specific info would
- be pretty easy.
-
- vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
- > I don't want app_defs.sys turning into another win.ini. When you install
- > a Windoze program, it adds all this CRAP to your system files like
- > win.ini, etc., and then when you want to remove the app, you still have
- > this crap in your win.ini file.
- That is why I don't want to see application specific stuff in there.
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
- The only application specific information would be a global option that
- you want changed per application. There are two meanings of application
- specific. One being that the option is useful only to one application.
- There isn't much point in putting this in a global file. The second
- meaning is the option is globally useful, but you want to set it specifically
- for one application to over-ride the global configuration. The first
- type can easily get out of hand. The second type should be included in
- the file specifiction, IMHO.
-
-
-